package com.yixun.qfbao.response.premises;

import java.util.ArrayList;
import java.util.List;

import com.yixun.qfbao.apidto.PremisesCity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zilong.liu
 * @date 2020-8-14
 */
@Data
public class GetPremisesCityByCityNameResDto {

	@ApiModelProperty("城市的集合")
	private List<PremisesCity> premisesCities;
	
	public void addPremisesCity(PremisesCity premisesCity) {
		if (this.premisesCities == null) {
			premisesCities = new ArrayList<>();
		}
		premisesCities.add(premisesCity);
	}
}
